package sample.springframework_practice.entity;

import java.util.Date;

public class Message extends AbstractEntity {

    private static final long serialVersionUID = 7532159424754122265L;

    private Long number;
    private String title;
    private String body;
    private String author;
    private Date modified;
    private Date posted;

    public Long getNumber() {
	return number;
    }

    public void setNumber(Long number) {
	this.number = number;
    }

    public String getTitle() {
	return title;
    }

    public void setTitle(String title) {
	this.title = title;
    }

    public String getBody() {
	return body;
    }

    public void setBody(String body) {
	this.body = body;
    }

    public String getAuthor() {
	return author;
    }

    public void setAuthor(String author) {
	this.author = author;
    }

    public Date getModified() {
	return modified;
    }

    public void setModified(Date modified) {
	this.modified = modified;
    }

    public Date getPosted() {
	return posted;
    }

    public void setPosted(Date posted) {
	this.posted = posted;
    }

    public static long getSerialversionuid() {
	return serialVersionUID;
    }
}
